/**
 * 人力资源路由
 */
export default [
  {
    path: '/hr',
    meta: { requiresAuth: true },
    children: [
      {
        path: 'employees',
        name: 'HREmployees',
        component: () => import('@/views/hr/Employees.vue'),
        meta: { title: '员工管理' }
      },
      {
        path: 'attendance',
        name: 'HRAttendance',
        component: () => import('@/views/hr/Attendance.vue'),
        meta: { title: '考勤管理' }
      },
      {
        path: 'salary',
        name: 'HRSalary',
        component: () => import('@/views/hr/Salary.vue'),
        meta: { title: '薪资管理' }
      },
      {
        path: 'recruitment',
        name: 'HRRecruitment',
        component: () => import('@/views/hr/Recruitment.vue'),
        meta: { title: '招聘管理' }
      },
      {
        path: 'training',
        name: 'HRTraining',
        component: () => import('@/views/hr/Training.vue'),
        meta: { title: '培训管理' }
      },
      {
        path: 'performance',
        name: 'HRPerformance',
        component: () => import('@/views/hr/Performance.vue'),
        meta: { title: '绩效考核' }
      },
      {
        path: 'reports',
        name: 'HRReports',
        component: () => import('@/views/hr/HRReports.vue'),
        meta: { title: 'HR报表' }
      }
    ]
  }
]

